#ifndef HEROPLANE_H
#define HEROPLANE_H
#include <QPixmap>
#include <QRect>
#include "config.h"
#include "bullet.h"
class heroplane
{
public:
    heroplane();
    void shoot();
    void MoveTo(int x,int y);
    QPixmap m_plane;
    int m_x;
    int m_y;
    QRect m_Rect;
    Bullet m_bullets[BULLET_NUM];
    int m_recorder=0;
    int m_speed;
    bool m_Destroy;
    int m_destroyFrame;
    QPixmap m_destroyPixmaps[BOMBMAX];
    int m_counter;
    int m_interval;
    bool m_control;
};

#endif // HEROPLANE_H
